
The codes need to be run by STATA16 or above

First, open "WongLiangStudy2multistate_prepare.do", and run the codes.

Then, open "WongLiangStudy2multistate_analysis.do" to generate survival model figures. 